package com.jrx.anytxn.feign.gateway.request;

import com.jrx.anytxn.feign.gateway.bean.*;

import java.util.List;

/**
 * @program: anytxn-cf-feign
 * @description: ecif注册或修改请求
 * @author: xiaoyu.jing
 * @date: 2019-11-25 15:11
 **/
public class EcifRequest01 extends BaseApiRequest {

    /**
     * 操作类型	  01：新建，02：修改
     */
    private String operation;

    /**
     * ECIF客户号  operation为02时，必输
     */
    private String ecifNo;

    /**
     * 客户信息
     */
    private CustomerInfo custInfo;

    /**
     * 单位信息
     */
    private CompanyInfo companyInfo;

    /**
     * 证件信息
     */
    private List<DocumentInfo> prtDocumentArray;

    /**
     * 地址信息
     */
    private List<AddressInfo> addressInfosArray;

    /**
     * 联系人信息
     */
    private List<ContractInfo> contractsArray;

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getEcifNo() {
        return ecifNo;
    }

    public void setEcifNo(String ecifNo) {
        this.ecifNo = ecifNo;
    }

    public CustomerInfo getCustInfo() {
        return custInfo;
    }

    public void setCustInfo(CustomerInfo custInfo) {
        this.custInfo = custInfo;
    }

    public CompanyInfo getCompanyInfo() {
        return companyInfo;
    }

    public void setCompanyInfo(CompanyInfo companyInfo) {
        this.companyInfo = companyInfo;
    }

    public List<DocumentInfo> getPrtDocumentArray() {
        return prtDocumentArray;
    }

    public void setPrtDocumentArray(List<DocumentInfo> prtDocumentArray) {
        this.prtDocumentArray = prtDocumentArray;
    }

    public List<ContractInfo> getContractsArray() {
        return contractsArray;
    }

    public void setContractsArray(List<ContractInfo> contractsArray) {
        this.contractsArray = contractsArray;
    }

    public List<AddressInfo> getAddressInfosArray() {
        return addressInfosArray;
    }

    public void setAddressInfosArray(List<AddressInfo> addressInfosArray) {
        this.addressInfosArray = addressInfosArray;
    }

    @Override
    public String toString() {
        return "EcifRequest01{" +super.toString()+
                "operation='" + operation + '\'' +
                ", ecifNo='" + ecifNo + '\'' +
                ", custInfo=" + custInfo +
                ", companyInfo=" + companyInfo +
                ", prtDocumentArray=" + prtDocumentArray +
                ", addressInfosArray=" + addressInfosArray +
                ", contractsArray=" + contractsArray +
                '}';
    }
}
